package com.gxuwz.medical.user;

/**
 * Teacher entity. @author MyEclipse Persistence Tools
 */

public class Teacher implements java.io.Serializable {

	// Fields

	private Integer teacherId;
	private String teacherName;
	private String title;
	private Integer teaTel;
	private Integer collegeId;
	private String teacherPwd;

	// Constructors

	/** default constructor */
	public Teacher() {
	}

	/** minimal constructor */
	public Teacher(Integer teacherId) {
		this.teacherId = teacherId;
	}


	/** full constructor */
	public Teacher(Integer teacherId, String teacherName, String title,
			Integer teaTel, Integer collegeId, String teacherPwd) {
		this.teacherId = teacherId;
		this.teacherName = teacherName;
		this.title = title;
		this.teaTel = teaTel;
		this.collegeId = collegeId;
		this.teacherPwd = teacherPwd;
	}

	public Integer getTeacherId() {
		return teacherId;
	}

	public void setTeacherId(Integer teacherId) {
		this.teacherId = teacherId;
	}

	public String getTeacherName() {
		return teacherName;
	}

	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Integer getTeaTel() {
		return teaTel;
	}

	public void setTeaTel(Integer teaTel) {
		this.teaTel = teaTel;
	}

	public Integer getCollegeId() {
		return collegeId;
	}

	public void setCollegeId(Integer collegeId) {
		this.collegeId = collegeId;
	}

	public String getTeacherPwd() {
		return teacherPwd;
	}

	public void setTeacherPwd(String teacherPwd) {
		this.teacherPwd = teacherPwd;
	}

	@Override
	public String toString() {
		return "Teacher [teacherId=" + teacherId + ", teacherName="
				+ teacherName + ", title=" + title + ", teaTel=" + teaTel
				+ ", collegeId=" + collegeId + ", teacherPwd=" + teacherPwd
				+ "]";
	}


}